package com.bussiness.system.core;

import java.util.Arrays;
import java.util.Map;
import java.util.List;

import com.bussiness.system.query.OssEntityQuery;
import com.bussiness.system.entity.OssEntity;
import com.bussiness.system.form.OssEntityAuditForm;
import com.bussiness.system.util.Result;

/**
 * 文件上传
 *  核心业务接口
 * @author xlr
 * @email 402701653@qq.com
 * @date 2018-09-04 00:34:01
 */
public interface OssCoreService {

    /**
    * 組合查詢
    * @param query
    * @return
    */
    Result queryPage(OssEntityQuery query);

    /**
    * 列表
    *  @param query
    *  @return
    */
    public Result list(OssEntityQuery query);

    /**
     * 信息
     *  @param id
     *  @return
     */
    public Result info(Long id);

    /**
     * 保存
     *  @param form
     *  @return
     */
    public Result save(OssEntityAuditForm form);

    /**
     * 修改
     *  @param form
     *  @return
     */
    public Result update(OssEntityAuditForm form);

    /**
     * 删除
     *  @param ids
     *  @return
     */
    public Result delete(Long[] ids);

}
